package com.haixiaoke.saas.house.domain;

import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 房屋操作记录对象 biz_house_operating_record
 *
 * @author panda
 * @date 2023-10-26
 */
@Data
public class HouseOperatingRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 基本信息记录
     */
    public final static String OPERATING_RECORD_TYPE_ONE = "1";

    /**
     * 租金修改记录
     */
    public final static String OPERATING_RECORD_TYPE_TWO = "2";

    /**
     * 状态变更记录
     */
    public final static String OPERATING_RECORD_TYPE_THREE = "3";


    /**
     * 操作记录id
     */
    private Long houseOperatingRecordId;

    /**
     * 房间id
     */
    @Excel(name = "房间id")
    private String houseId;

    /**
     * 子房间id
     */
    @Excel(name = "子房间id")
    private String subHouseId;

    /**
     * 操作内容
     */
    @Excel(name = "操作内容")
    private String operatingRecordContent;

    /**
     * 操作记录类型（1：基本信息记录；2：租金修改记录；3：状态变更记录；）
     */
    @Excel(name = "操作记录类型", readConverterExp = "1=：基本信息记录；2：租金修改记录；3：状态变更记录；")
    private String operatingRecordType;

    /**
     * 操作人id
     */
    @Excel(name = "操作人id")
    private Long operatingRecordId;

    /**
     * 操作人名字
     */
    @Excel(name = "操作人名字")
    private String operatingRecordName;

    /**
     * 操作人电话
     */
    @Excel(name = "操作人电话")
    private String operatingRecordPhone;
}
